home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / os2 / srefv112.zip / VIRTUAL.IN < prev    next >
Text File  |  1996-05-03  |  2KB  |  42 lines

  1. ; SRE-FILTER support file -- virtual drive information. 5/96
  2. ;
  3. ; This is used to allow access to files not in the default data directory path
  4. ;
  5. ; Each line contains two elements: a URL fragment and a target directory
  6. ; The URL fragment is compared to the beginning of the requested URL.
  7. ; If a match occurs, this beginning "fragment"is removed from the requeste URL
  8. ; , and replaced with the "target directory".  
  9. ;
  10. ;  If  no match is found, the "default directory" (which may be the
  11. ;  default data directory, or the working directory), is used (that is, the 
  12. ;  default directory is appended before the requested URL)
  13. ;
  14. ;Example:
  15. ; LOCAL/PROJECTS     D:\WORK\PROJECTS*
  16. ; If a URL of: /LOCAL/PROJECTS/BOB/PLANE.HTM is recieved, the file
  17. ; returned will be D:\WORK\PROJECTS\BOB\PLANE.HTM.
  18. ; Note that if the LOCAL/.. virutal directory was not defined, SRE-FILTER would look for:
  19. ;    default_dir\LOCAL\PROJECTS\BOB\PLANE.HTM
  20. ;
  21. ; NOTE: The * at the end of  directory name means "allow access to subdirectories".
  22. ; If the * is removed, /LOCAL/PROJECTS/BOB/PLANE.HTM would generate a "no access
  23. ; allowed" error (since access to subdirectory BOB, under WORK\PROJECTS,
  24. ; would not be allowed). 
  25. ;
  26. ; Example of "no subdirectory allowed access"
  27. ;    STATES   D:\USA\MAINE
  28. ;    .. a URL of STATES/AG.HTM would be valid (and would return D:\USA\MAINE\AG.HTM
  29. ;
  30. ; Note that leading and trailing slashes in the URL fragment are ignored, and / and \ are
  31. ; treated equivalently.  Similarly, trailing slashes in the target directory are ignored.
  32. ; Note that if a Drive is not specified in the target-directory, the drive that sre-filter is
  33. ; installed on will be used (and if there is no leading slash, one is added!)
  34. ;
  35. ; ---- End of comments
  36. ; Some examples (remove the starting ; to activate them)
  37. ; Temp on C, but NO subdirectory access
  38. ;CTEMP C:\temp\*
  39. ; D:\work, with subdirectory access allowed.
  40. ;D\work D:\WORK\*
  41.  
  42.